package com.moli.iov.notify.remote;

import com.moli.iov.notify.model.dto.*;
import com.moli.iov.rest.RestResponse;

import java.util.List;

/**
 *
 * According vehicle information send alarm vehicle control sms or mail.
 *
 * @author OAK
 * @version 3.0
 * @since 2019/10/12 9:42 AM.
 *
 */
public interface INoticeMessageCenterRemoteService {

    /**
     * According notice communication center data transfer object for trigger send a mail or sms.
     * @param noticeMessageCenterDto Notice communication center data transfer object.
     * @return a rest response
     */
    RestResponse trigger(NoticeMessageCenterDto noticeMessageCenterDto);

    /**
     *
     * According attention to mail source and vehicle number for send a mail.
     * @param mailSource Mail source.
     * @param vehicleNumber Vehicle number.
     * @return a rest response.
     */
    RestResponse sendTo(String mailSource, String vehicleNumber);

}